//
//  ZYChangeLanguage.h
//  YiLin
//
//  Created by Zyark on 2018/5/29.
//  Copyright © 2018年 Zyark. All rights reserved.
//

#import <Foundation/Foundation.h>
@interface ZYChangeLanguage : NSObject
+(NSBundle *)bundle;//获取当前资源文件

+(void)initUserLanguage;//初始化语言文件

/**
 *  获取单例
 *
 *  @return 该类的唯一实例
 */
+ (ZYChangeLanguage *)sharedZYChangeLanguage;

-(NSString *)userLanguage;//获取应用当前语言

-(void)setUserlanguage:(NSString *)language;//设置当前语言

-(NSString *)getStringByKey:(NSString *)key;//获取字符串

@end
